<include file="header" />
<div class="main">
	<div class="red" style="background-color: #ffff66;line-height: 24px;text-align: center;"><present name="error_msg">{$error_msg}</present></div>
    <form action="{:U('index/next')}" method="post">
    <div id="form_items_3"><br>
    <div class="desc"><b>{:L('tips_dbinfo')}</b></div>
    <table class="tb2">
    <tbody>
    <tr><th align="left" class="tbopt">&nbsp;{:L('dbhost')}:</th>
    <td><input type="text" class="txt" size="35" value="{$dbhost}" name="dbhost"></td>
    <td><if condition="isset($dbhost_error_msg)"><span class="red">{$dbhost_error_msg}</span><else/>{:L('dbhost_comment')}</if></td>
    </tr>
    
    <tr><th align="left" class="tbopt">&nbsp;{:L('dbport')}:</th>
    <td><input type="text" class="txt" size="35" value="{$dbport}" name="dbport"></td>
    <td><if condition="isset($dbport_error_msg)"><span class="red">{$dbport_error_msg}</span><else/>{:L('dbport_comment')}</if></td>
    </tr>
        
    <tr><th align="left" class="tbopt">&nbsp;{:L('dbname')}:</th>
    <td><input type="text" class="txt" size="35" value="{$dbname}" name="dbname"></td>
    <td><span class="red"><present name="dbname_error_msg">{$dbname_error_msg}</present></span></td>
    </tr>
    
    <tr><th align="left" class="tbopt">&nbsp;{:L('dbuser')}:</th>
    <td><input type="text" class="txt" size="35" value="{$dbuser}" name="dbuser"></td>
    <td><span class="red"><present name="dbuser_error_msg">{$dbuser_error_msg}</present></span></td>
    </tr>
    
    <tr>
    <th align="left" class="tbopt">&nbsp;{:L('dbpwd')}:</th>
    <td><input type="text" class="txt" size="35" value="{$dbpwd}" name="dbpwd"></td>
    <td></td>
    </tr>
    
    <tr><th align="left" class="tbopt">&nbsp;{:L('dbprefix')}:</th>
    <td><input type="text" class="txt" size="35" value="{$dbprefix}" name="dbprefix"></td>
    <td><if condition="isset($dbprefix_error_msg)"><span class="red">{$dbprefix_error_msg}</span><else/>{:L('tablepre_comment')}</if></td>
    </tr>

<if condition="isset($force_install)">
<tr>
<th align="left" class="tbopt red">&nbsp;{:L('forceinstall')}:</th>
<td><label><input type="checkbox" style="border: 0" value="1" name="force_install">{:L('forceinstall_check_label')}</label>
</td>
<td><span class="red">{:L('dbinfo_forceinstall_invalid')}</span></td>
</tr>
</if>

    </tbody></table>
    <div class="desc"><b>{:L('tips_siteinfo')}</b></div>
    <table class="tb2">
    <tbody><tr><th align="left" class="tbopt">&nbsp;{:L('sitename')}:</th>
    <td><input type="text" class="txt" size="35" value="{$sitename}" name="sitename"></td>
    <td>{:L('sitename_comment')}</td>
    </tr>
    
    <tr><th align="left" class="tbopt">&nbsp;{:L('sitesubname')}:</th>
    <td><input type="text" class="txt" size="35" value="{$sitesubname}" name="sitesubname"></td>
    <td>{:L('sitesubname_comment')}</td>
    </tr>
    
    <tr><th align="left" class="tbopt">&nbsp;{:L('siteurl')}:</th>
    <td><input type="text" class="txt" size="35" value="{$siteurl}" name="siteurl"></td>
    <td>{:L('siteurl_comment')}</td>
    </tr>
    </tbody></table>    
    
    <div class="desc"><b>{:L('tips_admininfo')}</b></div><table class="tb2">
    <tbody><tr><th align="left" class="tbopt">&nbsp;{:L('username')}:</th>
    <td><input type="text" class="txt" size="35" value="{$username}" name="username"></td>
    <td><span class="red"><present name="username_error_msg">{$username_error_msg}</present></span></td>
    </tr>
    
    <tr><th align="left" class="tbopt">&nbsp;{:L('password')}:</th>
    <td><input type="password" class="txt" size="35" value="{$password}" name="password"></td>
    <td><if condition="isset($password_error_msg)"><span class="red">{$password_error_msg}</span><else/>{:L('password_comment')}</if></td>
    </tr>
    
    <tr><th align="left" class="tbopt">&nbsp;{:L('password2')}:</th>
    <td><input type="password" class="txt" size="35" value="{$password2}" name="password2"></td>
    <td><span class="red"><present name="password2_error_msg">{$password2_error_msg}</present></span></td>
    </tr>
    
    <tr><th align="left" class="tbopt">&nbsp;{:L('email')}:</th>
    <td><input type="text" class="txt" size="35" value="{$email}" name="email"></td>
    <td><span class="red"><present name="email_error_msg">{$email_error_msg}</present></span></td>
    </tr>
    
    </tbody></table></div><table class="tb2">
    <tbody><tr><th align="left" class="tbopt">&nbsp;</th>
    <td>
    <input type="hidden" class="txt" value="mysql" name="sql">
    <input type="submit" class="btn" value="{:L('new_step')}" name="submitname" style="margin-left:0px">
    </td>
    <td></td>
    </tr>
    
    </tbody></table>
    </form>
    <div class="footer">&copy;{$IKPHP.IKPHP_YEAR} <a href="http://www.ikphp.com/">IKPHP.COM</a> Inc.</div>
</div>
<include file="footer" />
